{% extends "_base.html" %}
{% block content %}
<div class="container">
	<div class="span6">
		{% if name %} <h3>Name: <strong>{{ name}}</strong></h3>
		{% endif %} 
		<h3>Registration Number: {{ reg_num }}</h3>
		{% if not error %}
		<table class="table table-bordered table-striped">
			<thead>
				<th>Subject</th>
				<th>Score</th>
			</thead>
			<tbody>
				{% for d in duo %}
				<tr>
					<td class="span3">{{ d[1] }}</td>
					<td>{{ d[0] }}</td>
					<td class="swatch-col"><span class="swatch" style="background-color: #08c;"></span></td>
				</tr>
				{% endfor %}
			</tbody>
		</table>
		{% if score %}
		<div class="well">
			<h4>Score:{{ total }}</h4>
			<h4>No Admission Offered Yet</h4>
		</div>
		<p>
			<a class="btn btn-primary btn-large" href="/">check anther result &raquo;</a>
		</p>
		{% endif %}
		{% endif %}
		
		{% if error %}
		<div class="alert alert-error">
			{{ error }}			
		</div>
		<p>
			<a class="btn btn-primary btn-large" href="/">Try again?? &raquo;</a>
		</p>
		{% endif %}
	</div>
</div>
{% endblock content %} 